<?php
/*
	
*/
defined('BY_JYA') or exit('Access Denied');
global $_RQ,$_AR;

$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
if($_RQ['op']=='main'){
	$pay_sum=pdo_getsum('jy_weishop_order',array('uniacid'=>$_SESSION['uniacid'],'mid'=>$_SESSION['uid'],'status'=>3),'price');
	$item['diy_form']=json_decode($item['diy_form'],true);
	if($pay_sum < $item['diy_form']['shopfull']){
		api_exi('抱歉，您还达到满额要求，请前往商城购物哦！','error');
	}
}

